import { categoryModule } from '@/utils/bundle'
export default async (data: Wx.Card.Data) => {
  const sprite = await categoryModule(data)
  sprite.anchor.set(0.5)
  sprite.scale.set(0.5)
  sprite.position.set(0, 506 / 2 - 20)
  return sprite
}
